package com.peng.user.service;

import com.peng.user.entity.UcenterMember;
import com.baomidou.mybatisplus.extension.service.IService;
import com.peng.user.entity.vo.LoginVo;
import com.peng.user.entity.vo.RegisterVo;

/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author Dengp
 * @since 2022-06-19
 */
public interface UcenterMemberService extends IService<UcenterMember> {
    //登录方法
    String login(LoginVo loginVo);
    //注册账号
    void register(RegisterVo registerVo);
    //根据openid获取用户
    UcenterMember getUserByOpenId(String openid);
    //根据日期统计当天注册人数
    int getRegisterCount(String day);
}
